//
//  PKRootListTableViewCell.m
//  PianKe
//
//  Created by ybq on 15/12/28.
//  Copyright © 2015年 B7_Young. All rights reserved.
//

#import "PKRootListTableViewCell.h"

@implementation PKRootListTableViewCell

- (void)awakeFromNib {
    // Initialization code
}

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier {
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        
        self.backgroundColor = [UIColor colorWithRed:61.0/255 green:61.0/255 blue:61.0/255 alpha:1];
        
        _logoImageView = [[UIImageView alloc] initWithFrame:CGRectMake(30, 15, 20, 20)];
        [self.contentView addSubview:_logoImageView];
        
        _titleLabel = [[UILabel alloc] initWithFrame:CGRectMake(70, 15, 50, 20)];
        _titleLabel.textColor = [UIColor whiteColor];
        [self.contentView addSubview:_titleLabel];
    }
    return self;
}


- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
